.TH "include/ccn/ccn_private.h" 3 "14 Sep 2011" "Version 0.4.1" "Content-Centric Networking in C" \" -*- nroff -*-
.ad l
.nh
.SH NAME
include/ccn/ccn_private.h \- Additional operations that are irrevalent for most clients. 
.SH SYNOPSIS
.br
.PP
.SS "Functions"

.in +1c
.ti -1c
.RI "void \fBccn_dispatch_message\fP (struct ccn *h, unsigned char *msg, size_t size)"
.br
.RI "\fIDispatch a message through the registered upcalls. \fP"
.ti -1c
.RI "int \fBccn_process_scheduled_operations\fP (struct ccn *h)"
.br
.RI "\fIProcess any scheduled operations that are due. \fP"
.ti -1c
.RI "struct \fBccn_charbuf\fP * \fBccn_grab_buffered_output\fP (struct ccn *h)"
.br
.ti -1c
.RI "void \fBccn_setup_sockaddr_un\fP (const char *, struct sockaddr_un *)"
.br
.RI "\fISet up a unix-domain socket address for contacting ccnd. \fP"
.in -1c
.SH "Detailed Description"
.PP 
Additional operations that are irrevalent for most clients. 

Part of the CCNx C Library.
.PP
Copyright (C) 2009 Palo Alto Research Center, Inc.
.PP
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 
.PP
Definition in file \fBccn_private.h\fP.
.SH "Function Documentation"
.PP 
.SS "void ccn_dispatch_message (struct ccn * h, unsigned char * msg, size_t size)"
.PP
Dispatch a message through the registered upcalls. 
.PP
This is not used by normal ccn clients, but is made available for use when ccnd needs to communicate with its internal client. 
.PP
\fBParameters:\fP
.RS 4
\fIh\fP is the ccn handle. 
.br
\fImsg\fP is the ccnb-encoded Interest or ContentObject. 
.br
\fIsize\fP is its size in bytes. 
.RE
.PP

.PP
Definition at line 1153 of file ccn_client.c.
.PP
Referenced by ccn_process_input(), and ccnd_send().
.SS "struct \fBccn_charbuf\fP* ccn_grab_buffered_output (struct ccn * h)\fC [read]\fP"
.PP
Definition at line 716 of file ccn_client.c.
.PP
Referenced by process_internal_client_buffer().
.SS "int ccn_process_scheduled_operations (struct ccn * h)"
.PP
Process any scheduled operations that are due. 
.PP
This is not used by normal ccn clients, but is made available for use by ccnd to run its internal client. 
.PP
\fBParameters:\fP
.RS 4
\fIh\fP is the ccn handle. 
.RE
.PP
\fBReturns:\fP
.RS 4
the number of microseconds until the next thing needs to happen. 
.RE
.PP

.PP
Definition at line 1437 of file ccn_client.c.
.PP
Referenced by ccn_run(), and ccnd_internal_client_refresh().
.SS "void ccn_setup_sockaddr_un (const char * portstr, struct sockaddr_un * result)"
.PP
Set up a unix-domain socket address for contacting ccnd. 
.PP
If the environment variable CCN_LOCAL_SOCKNAME is set and not empty, it supplies the name stem; otherwise the compiled-in default is used.
.PP
If portstr is NULL or empty, the environment variable CCN_LOCAL_PORT is checked. If the portstr specifies something other than the ccnx registered port number, the socket name is modified accordingly. 
.PP
\fBParameters:\fP
.RS 4
\fIportstr\fP - numeric port; use NULL for default. 
.RE
.PP

.PP
Definition at line 43 of file ccn_setup_sockaddr_un.c.
.PP
Referenced by ccn_connect(), ccnd_get_local_sockname(), and main().
.SH "Author"
.PP 
Generated automatically by Doxygen for Content-Centric Networking in C from the source code.
